SequencingRuleNodeReader.Combination Property

Returns the <imsss:ruleConditions>/conditionCombination attribute value.

Parent Type: SequencingRuleNodeReader

Namespace: Microsoft.LearningComponents.Manifest

Assembly: Microsoft.LearningComponents.dll

Syntax
C#

public SequencingConditionCombination Combination

{ get; }
Exceptions
Exception type Condition
InvalidPackageException

Thrown in ManifestReaderSettings.FixScormRequirementViolations=false if there are multiple <imsss:ruleConditions> nodes or if the conditionCombination attribute is an invalid value.

Remarks

There should be only one <imsss:ruleConditions> node. If there is more than one, in ManifestReaderSettings.FixScormRequirementViolations=true, a warning is issued to the log and the first one is returned. In ManifestReaderSettings.FixScormRequirementViolations=false an error is issued to the log and an InvalidPackageException is thrown.

In ManifestReaderSettings.FixScormRequirementViolations=true if there is an invalid token for the conditionCombination attribute, the default value of SequencingConditionCombination.All is returned.

The default value of SequencingConditionCombination.All is returned in both ManifestReaderSettings.FixScormRequirementViolations=true and ManifestReaderSettings.FixScormRequirementViolations=false if there is no <imsss:ruleConditions> node.